home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 January / macformat-020.iso / Shareware City / Developers / apps.to.go / •AppsToGo Reference / •AppsToGo Reference.rsrc / WFMT_648_a2E7 < prev    next >
Unknown  |  1994-07-14  |  3.8 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert TTComp Archive (archive/ttcomp) fallback Supported
100% file TTComp archive data, binary, 2K dictionary default (weak)
99% file data default
66% TrID TTComp archive compressed (bin-2K) default (weak)
33% TrID Adobe PhotoShop Brush default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 00 01 00 00 00 1a | 00 00 00 00 00 00 00 1a |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 05 00 05 00 00 |........|........|
|00000030| 00 26 00 00 0c 41 00 00 | 00 26 61 32 45 37 00 00 |.&...A..|.&a2E7..|
|00000040| 4e 16 00 00 20 19 00 00 | 00 00 00 00 00 00 00 00 |N... ...|........|
|00000050| 00 00 0c 57 69 6e 64 6f | 77 43 75 72 73 6f 72 00 |...Windo|wCursor.|
|00000060| 00 06 00 00 00 00 00 a5 | 00 00 0c 42 00 00 00 a5 |........|...B....|
|00000070| 00 00 00 14 03 c1 00 28 | 05 7e 00 ff 00 00 00 00 |.......(|.~......|
|00000080| 00 00 0f a8 00 00 00 00 | 4e 1c 00 00 00 09 00 00 |........|N.......|
|00000090| 00 04 00 04 ff fc ff fa | 00 04 00 04 ff fc ff fc |........|........|
|000000a0| 00 00 00 00 00 00 00 00 | 83 00 0b 40 10 6b 53 63 |........|...@.kSc|
|000000b0| 72 65 65 6e 41 50 49 2f | 31 39 39 39 36 00 06 47 |reenAPI/|19996..G|
|000000c0| 65 6e 65 76 61 00 00 4b | 42 6f 6f 6c 65 61 6e 20 |eneva..K|Boolean |
|000000d0| 57 69 6e 64 6f 77 43 75 | 72 73 6f 72 28 46 69 6c |WindowCu|rsor(Fil|
|000000e0| 65 52 65 63 48 6e 64 6c | 20 66 72 48 6e 64 6c 2c |eRecHndl| frHndl,|
|000000f0| 20 57 69 6e 64 6f 77 50 | 74 72 20 77 69 6e 64 6f | WindowP|tr windo|
|00000100| 77 2c 20 50 6f 69 6e 74 | 20 67 6c 6f 62 61 6c 50 |w, Point| globalP|
|00000110| 74 29 3b 00 00 00 06 00 | 00 00 00 00 a2 00 00 0c |t);.....|........|
|00000120| 43 00 00 00 a2 00 00 00 | 00 03 c1 00 14 05 7e 00 |C.......|......~.|
|00000130| ff 00 00 00 00 00 00 0f | a8 00 00 00 00 4e 1d 00 |........|.....N..|
|00000140| 00 00 09 00 00 00 04 00 | 04 ff fc ff fa 00 04 00 |........|........|
|00000150| 04 ff fc ff fc 00 00 00 | 00 00 00 00 00 83 00 0b |........|........|
|00000160| 40 14 6b 53 63 72 65 65 | 6e 4f 6e 65 4c 69 6e 65 |@.kScree|nOneLine|
|00000170| 2f 31 39 39 39 37 00 06 | 47 65 6e 65 76 61 00 00 |/19997..|Geneva..|
|00000180| 44 a5 41 70 70 57 61 6e | 6e 61 62 65 20 28 57 69 |D.AppWan|nabe (Wi|
|00000190| 6e 64 6f 77 2e 63 29 2e | 20 20 43 61 6c 6c 65 64 |ndow.c).| Called|
|000001a0| 20 62 79 20 66 72 61 6d | 65 77 6f 72 6b 20 73 6f | by fram|ework so|
|000001b0| 20 61 70 70 20 63 61 6e | 20 6d 61 6e 61 67 65 20 | app can| manage |
|000001c0| 75 6e 64 6f 2e 00 00 00 | 06 00 00 00 00 00 44 00 |undo....|......D.|
|000001d0| 00 0c 44 00 00 00 44 00 | 00 00 00 02 6b 04 40 02 |..D...D.|....k.@.|
|000001e0| 6c 01 00 00 00 00 00 00 | 01 0f f1 00 00 00 00 00 |l.......|........|
|000001f0| 00 00 00 00 0c 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 06 00 00 00 |........|........|
|00000220| 00 00 a5 00 00 0c 45 00 | 00 00 a5 00 00 00 00 02 |......E.|........|
|00000230| 6b 02 28 03 c1 00 ff 00 | 00 00 00 00 00 0f a8 00 |k.(.....|........|
|00000240| 00 00 00 4e 16 00 00 00 | 09 00 00 00 04 00 04 ff |...N....|........|
|00000250| fc ff fa 00 04 00 04 ff | fc ff fc 00 00 00 00 00 |........|........|
|00000260| 00 00 00 83 00 0b 40 0b | 6c 69 6e 6b 73 2f 31 39 |......@.|links/19|
|00000270| 39 39 30 00 06 4d 6f 6e | 61 63 6f 00 00 3a 61 31 |990..Mon|aco..:a1|
|00000280| 45 32 2c 44 6f 53 65 74 | 52 65 73 43 75 72 73 6f |E2,DoSet|ResCurso|
|00000290| 72 0d 61 31 45 38 2c 44 | 6f 57 69 6e 64 6f 77 43 |r.a1E8,D|oWindowC|
|000002a0| 75 72 73 6f 72 0d 61 32 | 45 37 2c 57 69 6e 64 6f |ursor.a2|E7,Windo|
|000002b0| 77 43 75 72 73 6f 72 0d | 00 16 00 01 00 00 00 00 |wCursor.|........|
|000002c0| 00 10 00 0c 00 01 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 06 00 00 00 00 0c 61 | 00 00 0c 46 00 00 0c 61 |.......a|...F...a|
|000002e0| 00 00 00 00 00 00 75 30 | 02 6b 01 ff 00 00 00 00 |......u0|.k......|
|000002f0| 00 00 0f a8 00 00 00 00 | 4e 1f 00 00 00 09 00 00 |........|N.......|
|00000300| 00 04 00 04 ff fc ff fa | 00 04 00 04 ff fc ff fc |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 83 00 0b 40 0a 62 6f 64 |........|...@.bod|
|00000320| 79 2f 31 39 39 39 39 00 | 06 4d 6f 6e 61 63 6f 00 |y/19999.|.Monaco.|
|00000330| 0b 2f 42 6f 6f 6c 65 61 | 6e 20 57 69 6e 64 6f 77 |./Boolea|n Window|
|00000340| 43 75 72 73 6f 72 28 46 | 69 6c 65 52 65 63 48 6e |Cursor(F|ileRecHn|
|00000350| 64 6c 20 66 72 48 6e 64 | 6c 2c 20 57 69 6e 64 6f |dl frHnd|l, Windo|
|00000360| 77 50 74 72 20 77 69 6e | 64 6f 77 2c 20 50 6f 69 |wPtr win|dow, Poi|
|00000370| 6e 74 20 67 6c 6f 62 61 | 6c 50 74 29 3b 0d 0d 49 |nt globa|lPt);..I|
|00000380| 4e 50 55 54 3a 20 20 66 | 72 48 6e 64 6c 20 20 20 |NPUT: f|rHndl |
|00000390| 20 20 20 46 69 6c 65 20 | 72 65 66 65 72 65 6e 63 | File |referenc|
|000003a0| 65 20 6f 66 20 64 6f 63 | 75 6d 65 6e 74 20 74 6f |e of doc|ument to|
|000003b0| 20 64 65 74 65 72 6d 69 | 6e 65 20 63 75 72 73 6f | determi|ne curso|
|000003c0| 72 20 66 6f 72 2e 0d 20 | 20 20 20 20 20 20 20 77 |r for.. | w|
|000003d0| 69 6e 64 6f 77 20 20 20 | 20 20 20 57 69 6e 64 6f |indow | Windo|
|000003e0| 77 20 74 6f 20 64 65 74 | 65 72 6d 69 6e 65 20 63 |w to det|ermine c|
|000003f0| 75 72 73 6f 72 20 66 6f | 72 2e 0d 20 20 20 20 20 |ursor fo|r.. |
|00000400| 20 20 20 67 6c 6f 62 61 | 6c 50 74 20 20 20 20 47 | globa|lPt G|
|00000410| 6c 6f 62 61 6c 20 6c 6f | 63 61 74 69 6f 6e 20 6f |lobal lo|cation o|
|00000420| 66 20 63 75 72 73 6f 72 | 20 74 6f 20 64 65 74 65 |f cursor| to dete|
|00000430| 72 6d 69 6e 65 2e 0d 0d | 54 68 69 73 20 66 75 6e |rmine...|This fun|
|00000440| 63 74 69 6f 6e 20 69 73 | 20 77 68 65 72 65 20 79 |ction is| where y|
|00000450| 6f 75 20 61 64 6a 75 73 | 74 20 74 68 65 20 63 75 |ou adjus|t the cu|
|00000460| 72 73 6f 72 20 74 6f 20 | 72 65 66 6c 65 63 74 20 |rsor to |reflect |
|00000470| 74 68 65 20 6c 6f 63 61 | 74 69 6f 6e 20 69 6e 20 |the loca|tion in |
|00000480| 74 68 65 0d 64 6f 63 75 | 6d 65 6e 74 20 6f 72 20 |the.docu|ment or |
|00000490| 77 69 6e 64 6f 77 2e 20 | 20 59 6f 75 20 68 61 76 |window. | You hav|
|000004a0| 65 20 74 68 65 20 61 64 | 64 69 74 69 6f 6e 61 6c |e the ad|ditional|
|000004b0| 20 69 6e 70 75 74 20 6f | 66 20 67 43 75 72 73 6f | input o|f gCurso|
|000004c0| 72 52 67 6e 20 74 6f 20 | 64 65 61 6c 0d 77 69 74 |rRgn to |deal.wit|
|000004d0| 68 2e 20 20 54 68 65 20 | 77 61 79 20 74 68 61 74 |h. The |way that|
|000004e0| 20 74 68 65 20 63 75 72 | 73 6f 72 20 68 61 6e 64 | the cur|sor hand|
|000004f0| 6c 69 6e 67 20 77 6f 72 | 6b 73 20 69 73 20 61 73 |ling wor|ks is as|
|00000500| 20 66 6f 6c 6c 6f 77 73 | 3a 0d 31 29 20 20 54 68 | follows|:.1) Th|
|00000510| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 63 61 |e applic|ation ca|
|00000520| 6c 6c 73 20 44 6f 57 69 | 6e 64 6f 77 43 75 72 73 |lls DoWi|ndowCurs|
|00000530| 6f 72 2e 0d 32 29 20 20 | 44 6f 57 69 6e 64 6f 77 |or..2) |DoWindow|
|00000540| 43 75 72 73 6f 72 20 77 | 6f 72 6b 73 20 69 74 73 |Cursor w|orks its|
|00000550| 20 77 61 79 20 74 68 72 | 6f 75 67 68 20 74 68 65 | way thr|ough the|
|00000560| 20 77 69 6e 64 6f 77 73 | 2f 64 6f 63 75 6d 65 6e | windows|/documen|
|00000570| 74 73 2c 20 66 72 6f 6e | 74 20 74 6f 20 62 61 63 |ts, fron|t to bac|
|00000580| 6b 2e 0d 20 20 20 20 49 | 74 20 6c 6f 6f 6b 73 20 |k.. I|t looks |
|00000590| 61 74 20 74 68 65 20 64 | 6f 63 75 6d 65 6e 74 27 |at the d|ocument'|
|000005a0| 73 20 77 69 6e 64 6f 77 | 43 75 72 73 6f 72 50 72 |s window|CursorPr|
|000005b0| 6f 63 20 61 6e 64 20 63 | 68 65 63 6b 73 20 74 6f |oc and c|hecks to|
|000005c0| 20 73 65 65 20 69 66 20 | 74 68 65 20 64 6f 63 75 | see if |the docu|
|000005d0| 6d 65 6e 74 0d 20 20 20 | 20 68 61 73 20 6f 6e 65 |ment. | has one|
|000005e0| 2e 20 20 49 66 20 74 68 | 65 20 64 6f 63 75 6d 65 |. If th|e docume|
|000005f0| 6e 74 20 64 6f 65 73 6e | 27 74 20 68 61 76 65 20 |nt doesn|'t have |
|00000600| 6f 6e 65 2c 20 74 68 65 | 6e 20 69 74 20 61 73 73 |one, the|n it ass|
|00000610| 75 6d 65 73 20 74 68 61 | 74 20 74 68 61 74 20 77 |umes tha|t that w|
|00000620| 69 6e 64 6f 77 0d 20 20 | 20 20 61 6c 77 61 79 73 |indow. | always|
|00000630| 20 77 61 6e 74 73 20 61 | 6e 20 61 72 72 6f 77 2e | wants a|n arrow.|
|00000640| 20 20 49 66 20 74 68 65 | 20 63 75 72 73 6f 72 20 | If the| cursor |
|00000650| 69 73 20 6f 76 65 72 20 | 74 68 61 74 20 77 69 6e |is over |that win|
|00000660| 64 6f 77 2c 20 74 68 65 | 20 63 75 72 73 6f 72 20 |dow, the| cursor |
|00000670| 69 73 20 73 65 74 0d 20 | 20 20 20 74 6f 20 61 6e |is set. | to an|
|00000680| 20 61 72 72 6f 77 2c 20 | 61 6e 64 20 77 65 27 72 | arrow, |and we'r|
|00000690| 65 20 64 6f 6e 65 2e 20 | 20 49 66 20 74 68 65 20 |e done. | If the |
|000006a0| 63 75 72 73 6f 72 20 69 | 73 6e 27 74 20 6f 76 65 |cursor i|sn't ove|
|000006b0| 72 20 74 68 65 20 77 69 | 6e 64 6f 77 2c 20 74 68 |r the wi|ndow, th|
|000006c0| 65 6e 20 74 68 65 20 6e | 65 78 74 0d 20 20 20 20 |en the n|ext. |
|000006d0| 77 69 6e 64 6f 77 20 69 | 73 20 74 72 69 65 64 2e |window i|s tried.|
|000006e0| 20 20 49 66 20 61 6c 6c | 20 64 6f 63 75 6d 65 6e | If all| documen|
|000006f0| 74 73 20 64 6f 6e 27 74 | 20 68 61 76 65 20 61 20 |ts don't| have a |
|00000700| 77 69 6e 64 6f 77 43 75 | 72 73 6f 72 50 72 6f 63 |windowCu|rsorProc|
|00000710| 2c 20 74 68 65 6e 20 74 | 68 65 20 63 75 72 73 6f |, then t|he curso|
|00000720| 72 0d 20 20 20 20 69 73 | 20 73 65 74 20 74 6f 20 |r. is| set to |
|00000730| 61 6e 20 61 72 72 6f 77 | 20 28 66 6f 72 20 74 68 |an arrow| (for th|
|00000740| 65 20 6e 6f 6e 2d 64 6f | 63 75 6d 65 6e 74 20 61 |e non-do|cument a|
|00000750| 72 65 61 20 6f 66 20 74 | 68 65 20 73 63 72 65 65 |rea of t|he scree|
|00000760| 6e 29 2e 0d 33 29 20 20 | 49 66 20 61 20 64 6f 63 |n)..3) |If a doc|
|00000770| 75 6d 65 6e 74 20 68 61 | 73 20 61 20 77 69 6e 64 |ument ha|s a wind|
|00000780| 6f 77 43 75 72 73 6f 72 | 50 72 6f 63 2c 20 74 68 |owCursor|Proc, th|
|00000790| 65 6e 20 74 68 65 20 70 | 72 6f 63 20 69 73 20 63 |en the p|roc is c|
|000007a0| 61 6c 6c 65 64 2e 20 20 | 54 68 65 20 70 72 6f 63 |alled. |The proc|
|000007b0| 27 73 0d 20 20 20 20 6a | 6f 62 20 69 73 20 61 73 |'s. j|ob is as|
|000007c0| 20 66 6f 6c 6c 6f 77 73 | 3a 0d 20 20 20 20 61 29 | follows|:. a)|
|000007d0| 20 20 49 66 20 74 68 65 | 20 63 75 72 73 6f 72 20 | If the| cursor |
|000007e0| 69 73 20 6f 76 65 72 20 | 61 20 70 6f 73 69 74 69 |is over |a positi|
|000007f0| 6f 6e 20 74 68 61 74 20 | 69 73 20 64 65 74 65 72 |on that |is deter|
|00000800| 6d 69 6e 65 64 20 62 79 | 20 74 68 65 20 77 69 6e |mined by| the win|
|00000810| 64 6f 77 2c 20 74 68 65 | 6e 0d 20 20 20 20 20 20 |dow, the|n. |
|00000820| 20 20 74 68 65 20 70 72 | 6f 63 20 72 65 6d 6f 76 | the pr|oc remov|
|00000830| 65 73 20 6f 74 68 65 72 | 20 61 72 65 61 73 20 66 |es other| areas f|
|00000840| 72 6f 6d 20 67 43 75 72 | 73 6f 72 52 67 6e 2e 20 |rom gCur|sorRgn. |
|00000850| 20 4e 6f 74 65 20 74 68 | 61 74 20 69 74 20 73 68 | Note th|at it sh|
|00000860| 6f 75 6c 64 20 6e 6f 74 | 0d 20 20 20 20 20 20 20 |ould not|. |
|00000870| 20 73 69 6d 70 6c 79 20 | 73 65 74 20 74 68 65 20 | simply |set the |
|00000880| 61 72 65 61 20 74 6f 20 | 77 68 61 74 20 69 74 20 |area to |what it |
|00000890| 22 74 68 69 6e 6b 73 22 | 20 69 73 20 74 68 65 20 |"thinks"| is the |
|000008a0| 63 6f 72 72 65 63 74 20 | 61 72 65 61 2e 20 20 54 |correct |area. T|
|000008b0| 68 69 73 20 77 69 6e 64 | 6f 77 0d 20 20 20 20 20 |his wind|ow. |
|000008c0| 20 20 20 6d 61 79 20 6e | 6f 74 20 62 65 20 74 68 | may n|ot be th|
|000008d0| 65 20 66 72 6f 6e 74 2d | 6d 6f 73 74 2e 20 20 4f |e front-|most. O|
|000008e0| 74 68 65 72 20 77 69 6e | 64 6f 77 73 20 77 69 6c |ther win|dows wil|
|000008f0| 6c 20 68 61 76 65 20 61 | 6c 72 65 61 64 79 20 62 |l have a|lready b|
|00000900| 65 65 6e 20 73 75 62 74 | 72 61 63 74 65 64 0d 20 |een subt|racted. |
|00000910| 20 20 20 20 20 20 20 66 | 72 6f 6d 20 67 43 75 72 | f|rom gCur|
|00000920| 73 6f 72 52 67 6e 2e 20 | 20 54 68 65 20 72 65 73 |sorRgn. | The res|
|00000930| 75 6c 74 61 6e 74 20 67 | 43 75 72 73 6f 72 52 67 |ultant g|CursorRg|
|00000940| 6e 20 69 73 20 74 68 65 | 20 63 6f 72 72 65 63 74 |n is the| correct|
|00000950| 20 63 75 72 73 6f 72 20 | 61 72 65 61 2c 0d 20 20 | cursor |area,. |
|00000960| 20 20 20 20 20 20 61 6e | 64 20 73 68 6f 75 6c 64 | an|d should|
|00000970| 20 62 65 20 70 61 73 73 | 65 64 20 74 6f 20 57 61 | be pass|ed to Wa|
|00000980| 69 74 4e 65 78 74 45 76 | 65 6e 74 20 63 61 6c 6c |itNextEv|ent call|
|00000990| 73 20 69 6e 20 74 68 65 | 20 61 70 70 6c 69 63 61 |s in the| applica|
|000009a0| 74 69 6f 6e 20 28 61 6c | 72 65 61 64 79 20 74 68 |tion (al|ready th|
|000009b0| 65 20 63 61 73 65 0d 20 | 20 20 20 20 20 20 20 69 |e case. | i|
|000009c0| 6e 20 45 76 65 6e 74 4c | 6f 6f 70 2e 63 29 2e 20 |n EventL|oop.c). |
|000009d0| 20 41 6c 73 6f 2c 20 74 | 68 65 20 63 75 72 73 6f | Also, t|he curso|
|000009e0| 72 20 73 68 6f 75 6c 64 | 20 62 65 20 73 65 74 20 |r should| be set |
|000009f0| 74 6f 20 74 68 65 20 63 | 6f 72 72 65 63 74 20 63 |to the c|orrect c|
|00000a00| 75 72 73 6f 72 2c 20 6f | 66 20 63 6f 75 72 73 65 |ursor, o|f course|
|00000a10| 2e 0d 20 20 20 20 20 20 | 20 20 59 6f 75 20 73 68 |.. | You sh|
|00000a20| 6f 75 6c 64 20 61 6c 73 | 6f 20 72 65 74 75 72 6e |ould als|o return|
|00000a30| 20 74 72 75 65 2c 20 61 | 73 20 74 68 65 20 63 75 | true, a|s the cu|
|00000a40| 72 73 6f 72 20 68 61 73 | 20 62 65 65 6e 20 64 65 |rsor has| been de|
|00000a50| 74 65 72 6d 69 6e 65 64 | 2e 0d 20 20 20 20 62 29 |termined|.. b)|
|00000a60| 20 20 49 66 20 74 68 65 | 20 63 75 72 73 6f 72 20 | If the| cursor |
|00000a70| 69 73 20 6e 6f 74 20 6f | 76 65 72 20 61 20 70 6f |is not o|ver a po|
|00000a80| 73 69 74 69 6f 6e 20 66 | 6f 72 20 74 68 69 73 20 |sition f|or this |
|00000a90| 77 69 6e 64 6f 77 2c 20 | 74 68 65 6e 20 79 6f 75 |window, |then you|
|00000aa0| 20 73 68 6f 75 6c 64 0d | 20 20 20 20 20 20 20 20 | should.| |
|00000ab0| 72 65 74 75 72 6e 2e 20 | 20 59 6f 75 20 77 69 6c |return. | You wil|
|00000ac0| 6c 20 65 69 74 68 65 72 | 20 70 61 73 73 20 62 61 |l either| pass ba|
|00000ad0| 63 6b 20 74 72 75 65 20 | 6f 72 20 66 61 6c 73 65 |ck true |or false|
|00000ae0| 2e 20 20 49 66 20 79 6f | 75 20 64 6f 6e 27 74 20 |. If yo|u don't |
|00000af0| 77 69 73 68 0d 20 20 20 | 20 20 20 20 20 77 69 6e |wish. | win|
|00000b00| 64 6f 77 73 20 62 65 68 | 69 6e 64 20 74 68 69 73 |dows beh|ind this|
|00000b10| 20 77 69 6e 64 6f 77 20 | 74 6f 20 68 61 76 65 20 | window |to have |
|00000b20| 61 20 73 68 6f 74 20 61 | 74 20 63 75 72 73 6f 72 |a shot a|t cursor|
|00000b30| 20 64 65 74 65 72 6d 69 | 6e 61 74 69 6f 6e 2c 20 | determi|nation, |
|00000b40| 74 68 65 6e 0d 20 20 20 | 20 20 20 20 20 72 65 74 |then. | ret|
|00000b50| 75 72 6e 20 74 72 75 65 | 2e 20 20 54 68 69 73 20 |urn true|. This |
|00000b60| 73 74 61 74 65 73 20 74 | 68 61 74 20 74 68 65 20 |states t|hat the |
|00000b70| 63 75 72 73 6f 72 20 69 | 73 20 22 64 65 74 65 72 |cursor i|s "deter|
|00000b80| 6d 69 6e 65 64 22 2e 20 | 20 49 74 20 69 73 2c 20 |mined". | It is, |
|00000b90| 69 6e 20 74 68 65 0d 20 | 20 20 20 20 20 20 20 73 |in the. | s|
|00000ba0| 65 6e 73 65 20 74 68 61 | 74 20 6e 6f 20 66 75 72 |ense tha|t no fur|
|00000bb0| 74 68 65 72 20 64 65 74 | 65 72 6d 69 6e 61 74 69 |ther det|erminati|
|00000bc0| 6f 6e 20 77 69 6c 6c 20 | 6f 63 63 75 72 2e 20 20 |on will |occur. |
|00000bd0| 49 66 20 79 6f 75 20 72 | 65 74 75 72 6e 20 66 61 |If you r|eturn fa|
|00000be0| 6c 73 65 2c 20 74 68 65 | 6e 0d 20 20 20 20 20 20 |lse, the|n. |
|00000bf0| 20 20 6f 74 68 65 72 20 | 77 69 6e 64 6f 77 73 20 | other |windows |
|00000c00| 67 65 74 20 61 20 73 68 | 6f 74 20 61 74 20 64 65 |get a sh|ot at de|
|00000c10| 74 65 72 6d 69 6e 69 6e | 67 20 74 68 65 20 63 75 |terminin|g the cu|
|00000c20| 72 73 6f 72 2e 0d 0d 53 | 65 74 74 69 6e 67 20 74 |rsor...S|etting t|
|00000c30| 68 65 20 63 75 72 73 6f | 72 20 74 6f 20 74 68 65 |he curso|r to the|
|00000c40| 20 63 6f 72 72 65 63 74 | 20 63 75 72 73 6f 72 20 | correct| cursor |
|00000c50| 69 73 6e 27 74 20 61 73 | 20 65 61 73 79 20 61 73 |isn't as| easy as|
|00000c60| 20 79 6f 75 20 77 6f 75 | 6c 64 20 65 78 70 65 63 | you wou|ld expec|
|00000c70| 74 2e 0d 44 54 53 2e 4c | 69 62 2e 2e 66 72 61 6d |t..DTS.L|ib..fram|
|00000c80| 65 77 6f 72 6b 20 75 73 | 65 73 20 74 68 65 20 67 |ework us|es the g|
|00000c90| 6c 6f 62 61 6c 20 67 43 | 75 72 73 6f 72 50 74 72 |lobal gC|ursorPtr|
|00000ca0| 20 61 73 20 74 68 65 20 | 72 65 66 65 72 65 6e 63 | as the |referenc|
|00000cb0| 65 20 74 6f 20 74 68 65 | 20 63 75 72 73 6f 72 2e |e to the| cursor.|
|00000cc0| 20 20 54 68 69 73 20 69 | 73 0d 66 69 6e 65 20 69 | This i|s.fine i|
|00000cd0| 66 20 74 68 65 20 63 75 | 72 73 6f 72 20 69 73 20 |f the cu|rsor is |
|00000ce0| 70 6f 69 6e 74 65 72 2d | 62 61 73 65 64 2c 20 62 |pointer-|based, b|
|00000cf0| 75 74 20 69 66 20 74 68 | 65 20 63 75 72 73 6f 72 |ut if th|e cursor|
|00000d00| 20 69 73 20 72 65 73 6f | 75 72 63 65 2d 62 61 73 | is reso|urce-bas|
|00000d10| 65 64 2c 20 69 74 20 69 | 73 20 61 20 62 69 74 0d |ed, it i|s a bit.|
|00000d20| 6d 6f 72 65 20 6f 66 20 | 61 20 70 72 6f 62 6c 65 |more of |a proble|
|00000d30| 6d 2e 20 20 57 68 61 74 | 20 79 6f 75 20 77 69 6c |m. What| you wil|
|00000d40| 6c 20 6e 65 65 64 20 74 | 6f 20 64 6f 20 69 73 20 |l need t|o do is |
|00000d50| 74 6f 20 63 61 6c 6c 20 | 44 6f 53 65 74 52 65 73 |to call |DoSetRes|
|00000d60| 43 75 72 73 6f 72 20 74 | 6f 20 6d 61 6b 65 20 74 |Cursor t|o make t|
|00000d70| 68 65 0d 72 65 73 6f 75 | 72 63 65 20 63 75 72 73 |he.resou|rce curs|
|00000d80| 6f 72 20 70 6f 69 6e 74 | 65 72 2d 62 61 73 65 64 |or point|er-based|
|00000d90| 2e 20 20 44 6f 53 65 74 | 52 65 73 43 75 72 73 6f |. DoSet|ResCurso|
|00000da0| 72 20 77 69 6c 6c 20 73 | 65 74 20 67 43 75 72 73 |r will s|et gCurs|
|00000db0| 6f 72 50 74 72 20 74 6f | 20 6e 69 6c 2c 20 61 6e |orPtr to| nil, an|
|00000dc0| 64 20 69 74 0d 61 6c 73 | 6f 20 72 65 74 75 72 6e |d it.als|o return|
|00000dd0| 73 20 74 68 65 20 70 6f | 69 6e 74 65 72 20 74 6f |s the po|inter to|
|00000de0| 20 74 68 65 20 70 65 72 | 6d 61 6e 65 6e 74 20 63 | the per|manent c|
|00000df0| 6f 70 79 20 6f 66 20 74 | 68 65 20 63 75 72 73 6f |opy of t|he curso|
|00000e00| 72 20 72 65 73 6f 75 72 | 63 65 2e 20 20 4a 75 73 |r resour|ce. Jus|
|00000e10| 74 20 73 65 74 20 67 43 | 75 72 73 6f 72 50 74 72 |t set gC|ursorPtr|
|00000e20| 0d 74 6f 20 74 68 65 20 | 72 65 74 75 72 6e 20 72 |.to the |return r|
|00000e30| 65 73 75 6c 74 20 6f 66 | 20 44 6f 53 65 74 52 65 |esult of| DoSetRe|
|00000e40| 73 43 75 72 73 6f 72 2c | 20 61 6e 64 20 79 6f 75 |sCursor,| and you|
|00000e50| 20 77 69 6c 6c 20 62 65 | 20 73 65 74 2e 20 0d 0d | will be| set. ..|
|00000e60| 0d 00 de 00 0b 00 00 00 | 00 00 0b 00 09 00 04 00 |........|........|
|00000e70| 00 00 09 00 00 00 00 00 | 00 00 00 01 f2 00 0b 00 |........|........|
|00000e80| 09 00 04 05 00 00 09 00 | 00 00 00 00 00 00 00 02 |........|........|
|00000e90| 00 00 0b 00 09 00 04 00 | 00 00 09 00 00 00 00 00 |........|........|
|00000ea0| 00 00 00 02 06 00 0b 00 | 09 00 04 05 00 00 09 00 |........|........|
|00000eb0| 00 00 00 00 00 00 00 02 | 14 00 0b 00 09 00 04 00 |........|........|
|00000ec0| 00 00 09 00 00 00 00 00 | 00 00 00 0a 26 00 0b 00 |........|....&...|
|00000ed0| 09 00 04 05 00 00 09 00 | 00 00 00 00 00 00 00 0a |........|........|
|00000ee0| 34 00 0b 00 09 00 04 00 | 00 00 09 00 00 00 00 00 |4.......|........|
|00000ef0| 00 00 00 0a 61 00 0b 00 | 09 00 04 05 00 00 09 00 |....a...|........|
|00000f00| 00 00 00 00 00 00 00 0a | 6f 00 0b 00 09 00 04 00 |........|o.......|
|00000f10| 00 00 09 00 00 00 00 00 | 00 00 00 0b 07 00 0b 00 |........|........|
|00000f20| 09 00 04 05 00 00 09 00 | 00 00 00 00 00 00 00 0b |........|........|
|00000f30| 15 00 0b 00 09 00 04 00 | 00 00 09 00 00 00 00 00 |........|........|
|00000f40| 00 | |. | |
+--------+-------------------------+-------------------------+--------+--------+